#include "TcpServer.hpp"
#include "Command.hpp"

int main() {
    Command cmd;
    tcp_task_t task = std::bind(&Command::CommandHandler, &cmd, std::placeholders::_1, std::placeholders::_2);
    TcpServer* tcvr = new TcpServer(task, 8888);
    tcvr->Init();
    tcvr->Start();
    return 0;
}